home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / Libraries / mymenv-notify 2.0 / vmymenv.cc < prev    next >
C/C++ Source or Header  |  1995-06-05  |  574b  |  22 lines

  1. /*
  2.  ************************************************************************
  3.  *                    A simple file that verifies
  4.  *                        Service C++ functions 
  5.  *         that support the standard environment for me
  6.  */
  7.  
  8. #include "mymenv.h"
  9.  
  10. void main()
  11. {
  12.     Initialize_MAC();
  13.     alert("This is a message...");
  14.     set_error_sound("\pQuack");
  15.     alert("This is a message with a different sound");
  16.     alert("Standard system beep should sound again");
  17.     notify("Notification %d",1);
  18.     notify("Notification %ld",2);
  19.     notify_and_wait("Last_notification");
  20.     _die("Just to tell ya I'm getting out of here...");
  21. }
  22.